package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;

@Data
@TableName("teaching")
public class Teaching {
    @Getter
    @TableId(type = IdType.INPUT)
    @TableField("ct_id")
    private int ctID;
    @Getter
    @TableField("c_id")
    private int cID;
    @Getter
    @TableField("c_number")
    private int cNumber;
    @Getter
    @TableField("t_id")
    private String tID;

    public void setCtID(int ctID) {
        this.ctID = ctID;
    }

    public void setcID(int cID) {
        this.cID = cID;
    }

    public void setcNumber(int cNumber) {
        this.cNumber = cNumber;
    }

    public void settID(String tID) {
        this.tID = tID;
    }

    public int getCtID() {
        return ctID;
    }

    public int getcID() {
        return cID;
    }

    public int getcNumber() {
        return cNumber;
    }

    public String gettID() {
        return tID;
    }
}
